;(function(){
  'use strict';
  angular.module('controllers.omdisplay.busAssessment',[])
    .controller('busAssessmentCtrl',busAssessmentCtrl);
  /**
   * 业务侧考核controller
   * @param   $scope      作用域
   * @param   CoreService 核心公共服务
   */
  function busAssessmentCtrl($scope,CoreService){
  	//当前模块tab对应的路径数组
  	var tabs=['/provincial','/upayAssess'];
    $scope.toggle = true;
    //控制刷新controller后选中哪个tab
    $scope.selectedIndex = CoreService.navgit(tabs);
    $scope.$on('$stateChangeSuccess', function(evt, state) {
      $scope.selectedIndex = tabs.indexOf(state.url);
    });
  }

  busAssessmentCtrl.$inject = ['$scope','CoreService'];

})();
